import type { XtxGuessInstance } from "@/types/component"
import { ref } from "vue"
/**
 * 猜你喜欢组合式函数
 * @returns
 */
export const useGuessList = () => {
  const guessRef = ref<XtxGuessInstance>()
  // 触底加载
  const onScrolltolower = () => {
    guessRef.value?.getMore()
  }
  return {
    guessRef,
    onScrolltolower
  }
}
